package test.day12.test21;

class Animal{
    public int m;
    public  Animal(){
       m = 100; 
    }
}
class Dog extends Animal {
    public Dog() {
        m += 10;    // m = 110
    }
}
public class E {
   public static void main(String args[]){
      Dog dog = new Dog();
      System.out.println(dog.m); //【代码】
   }
}

